.wrapper {
  display: flex;
  align-items: center;
  justify-content: center;
  width: 100%;
  margin: 1.5em auto;
  flex-direction: column;
  position: relative;
}

.wrapper--fullHeight {
  border: none;
  margin: 0 auto 20px;
  overflow-y: scroll;
}

.card {
  width: 90%;
  display: flex;
  justify-content: center;
  align-items: center;
  margin: 0 auto;
  padding: 1rem 0;
}

.resizeDiv {
  height: 100%;
  width: 100%;
  min-height: 8rem;
  transition: height 150ms ease-in-out; /* TODO replace with scaleX for perf? */
}

.errWrapper {
  width: 100%;
  height: 100%;
  background-color: rgba(251, 79, 79, 0.75);
  color: white;
  padding: 1em;
  display: flex;
  align-items: center;
  justify-content: center;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 3px; /* Same as Card component main div */
}

.err {
  white-space: pre-wrap;
}

.title {
  font-size: 1.5em;
  font-weight: 300;
  margin: 0 0 0.5em 0;
}

.buttonWrapper {
  position: absolute;
  top: 0;
  left: -2.5em;
  width: 2.5em;
}

.button {
  padding: 0.25rem 0.5rem;
}

.componentFrame {
  border: none;
  width: 100%;
  height: 100%;
  position: absolute;
  top: 0;
  left: 0;
  right: 0;
  bottom: 0;
  border-radius: 3px; /* Same as Card component main div */
}
